package com.ebase.core.listener;

import org.apache.log4j.Logger;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;


public class ServerListerner implements ServletContextListener {
	private final Logger logger = Logger.getLogger(ServerListerner.class);

	public void contextDestroyed(ServletContextEvent contextEvent) {
	}

	public void contextInitialized(ServletContextEvent contextEvent) {
		logger.info("=================================");
		logger.info("系统["+contextEvent.getServletContext().getServletContextName()+"]启动成功!!!");
		logger.info("=================================");
	}
}